package com.angel.bo.admin.config;

import com.angel.bo.common.handler.GlobalExceptionHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import tk.mybatis.spring.mapper.MapperScannerConfigurer;

/**
 * @Author: Haibo.Mei [Haibo.Mei@ge.com]
 * @Description:自动装配一些配置
 * @Date: 15:45 2017/11/20
 */
@Configuration
public class AutoConfiguration {

    @Bean
    public GlobalExceptionHandler getGlobalExceptionHandler(){
        return new GlobalExceptionHandler();
    }


}
